package top.jiangqiang.crawler.core.http.entities;

import top.jiangqiang.crawler.core.http.entities.body.HttpBody;

public interface HttpRequestEntity {
    /**
     * @return HTTP请求行结构
     */
    RequestLine getRequestLine();
    void setRequestLine(RequestLine requestLine);

    /**
     * @return 请求头结构
     */
    RequestHeader getRequestHeader();

    void setRequestHeader(RequestHeader requestHeader);

    /**
     * @return body
     */
    HttpBody<?> getRequestBody();

    void setRequestBody(HttpBody<?> httpBody);

    /**
     * @return url参数
     */
    QueryParameters getQueryParameters();

    void setQueryParameters(QueryParameters queryParameters);

}
